<div style="padding:4px;border-bottom:1px solid #dedede">
    <h2 style="margin:0px">
        <a class="am-link-muted" onclick="goto_work_show(<?= $shoeShowMsg->WorkId ?>)">
            <i class="am-icon am-icon-chevron-left am-icon-fw"></i>
            <span><?= $shoeShowMsg->WorkName ?></span>
        </a>
    </h2>
</div>
<a data-forward="controller=user_show&user_id=<?= $shoeShowMsg->Author; ?>" data-menu-r="user_show"
   onclick="act_content(this)">
    <div class="app-avatar-bar am-text-xs">
        <div class="app-avatar-bar-img">
            <img class="am-circle app-avatar-sm" alt="" src="<?= $shoeShowMsg->UserAvatar ?>"/>
        </div>
        <div class="app-avatar-bar-name">
            <div><span class="app-author-link"><?= $shoeShowMsg->UserName ?></span></div>
            <div><span class="app-datetime-color"><?= $shoeShowMsg->ReleaseDate ?></span></div>
        </div>
        <div class="am-fr app-avatar-bar-viewcount">
            <i class="am-icon am-icon-eye am-icon-fw app-viewcount-color"></i><span
                    class="app-viewcount-color"><?= formatDataSize($shoeShowMsg->ViewCount) ?></span>
        </div>
    </div>
</a>
<div style="padding:5px 15px 0px 15px"><?= $shoeShowMsg->Introd; ?></div>
<ul id="shoe_show_imgs" data-am-widget="gallery" class="am-gallery am-avg-sm-3 am-gallery-default"
    data-am-gallery="{pureview: 1}">
    <?php
    foreach ($shoeShowImgList as $img) {
        $shoeShowImg = make_img_name::make_img_mini_name($img);
        ?>
        <li>
            <div class="am-gallery-item">
                <img src="<?= $CfgPara->httproot ?>/shoe_show_pic/<?= $shoeShowImg ?>"
                     alt="" data-rel="<?= $CfgPara->httproot ?>/shoe_show_pic/<?= $img ?>"/>
            </div>
        </li>
    <?php } ?>
</ul>
<div class="app-comment-color am-text-xs" style="padding-left:10px;padding-right:10px">
    <span id="shoe_show_up_count"><?= $shoeShowMsg->UpCount ?></span>个推荐
    &nbsp;&bull;&nbsp;
    <span id="comment_count1"><?= $shoeShowMsg->CommentCount ?></span>个评论
    <div class="app-gray-color">
        <span id="shoe_show_up_names"><?php if (isset($shoeShowUpNames) && $shoeShowUpNames != '') echo $shoeShowUpNames; ?></span>
        <span id="shoe_show_up_names_ex"><?php if (isset($shoeShowUpNames) && $shoeShowUpNames != '') echo '等人推荐了此鞋主秀'; ?></span>
    </div>
</div>
<div class="app-content am-text-lg">
    &nbsp;
    <a id="icon_recommend"
       onclick="shoe_show_recommand()"
       class="<?= $recommendColorClass ?> am-icon am-icon-heart<?= $recommendIconEx ?> am-icon-fw">
    </a>
    &nbsp;&nbsp;&nbsp;
    <a class="am-link-muted am-icon am-icon-comment<?= $commendIconEx ?> am-icon-fw"
       data-forward="controller=comment&comment_edit_view=1&reply_id=0&parent_id=<?= $shoeShowMsg->Id ?>&parent_type=2"
       onclick="act_content(this)">
    </a>
</div>
<div class="app-content-divider"></div>
<?php
//连接评论控制器
$InputData['author_id'] = $shoeShowMsg->Author;
require("{$CfgPara->root}/controller/comment.c.php");
?>
<script type="text/javascript">
    $.AMUI.gallery.init();
    //page_share_ini("shoe_show_imgs");
</script>